package com.cdtye.itps.cms.mapper.dict;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cdtye.itps.cms.dao.dict.entity.SysDictionary;
import com.cdtye.itps.cms.dao.dict.vo.SysDictionaryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysDictionaryMapper extends BaseMapper<SysDictionary> {
    IPage<Map<String,Object>> pageList(IPage page, @Param("vo") SysDictionaryVo vo);

    List<Map<String,Object>> getList(@Param("vo") SysDictionaryVo vo);

    IPage<Map<String, Object>> pageList4Brain(IPage page, @Param("vo") SysDictionaryVo vo);
}
